3.2.1 \(\int \frac {\csc (a+b x)}{\sqrt {\sin (2 a+2 b x)}} \, dx\) [101]

Optimal. Leaf size=24 \[ -\frac {\csc (a+b x) \sqrt {\sin (2 a+2 b x)}}{b} \]

[Out]

-csc(b*x+a)*sin(2*b*x+2*a)^(1/2)/b

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 24, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {4377} \begin {gather*} -\frac {\sqrt {\sin (2 a+2 b x)} \csc (a+b x)}{b} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Csc[a + b*x]/Sqrt[Sin[2*a + 2*b*x]],x]

[Out]

-((Csc[a + b*x]*Sqrt[Sin[2*a + 2*b*x]])/b)

Rule 4377

Int[((e_.)*sin[(a_.) + (b_.)*(x_)])^(m_.)*((g_.)*sin[(c_.) + (d_.)*(x_)])^(p_), x_Symbol] :> Simp[(e*Sin[a + b
*x])^m*((g*Sin[c + d*x])^(p + 1)/(b*g*m)), x] /; FreeQ[{a, b, c, d, e, g, m, p}, x] && EqQ[b*c - a*d, 0] && Eq
Q[d/b, 2] &&  !IntegerQ[p] && EqQ[m + 2*p + 2, 0]

Rubi steps

\begin {align*} \int \frac {\csc (a+b x)}{\sqrt {\sin (2 a+2 b x)}} \, dx &=-\frac {\csc (a+b x) \sqrt {\sin (2 a+2 b x)}}{b}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.05, size = 23, normalized size = 0.96 \begin {gather*} -\frac {\csc (a+b x) \sqrt {\sin (2 (a+b x))}}{b} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Csc[a + b*x]/Sqrt[Sin[2*a + 2*b*x]],x]

[Out]

-((Csc[a + b*x]*Sqrt[Sin[2*(a + b*x)]])/b)

________________________________________________________________________________________

Maple [C] Result contains higher order function than in optimal. Order 4 vs. order 3.
time = 3.86, size = 308, normalized size = 12.83

method result size
default \(\frac {\sqrt {-\frac {\tan \left (\frac {a}{2}+\frac {x b}{2}\right )}{\tan ^{2}\left (\frac {a}{2}+\frac {x b}{2}\right )-1}}\, \left (2 \sqrt {\tan \left (\frac {a}{2}+\frac {x b}{2}\right )+1}\, \sqrt {-2 \tan \left (\frac {a}{2}+\frac {x b}{2}\right )+2}\, \sqrt {-\tan \left (\frac {a}{2}+\frac {x b}{2}\right )}\, \EllipticE \left (\sqrt {\tan \left (\frac {a}{2}+\frac {x b}{2}\right )+1}, \frac {\sqrt {2}}{2}\right ) \sqrt {\tan \left (\frac {a}{2}+\frac {x b}{2}\right ) \left (\tan ^{2}\left (\frac {a}{2}+\frac {x b}{2}\right )-1\right )}-\sqrt {\tan \left (\frac {a}{2}+\frac {x b}{2}\right )+1}\, \sqrt {-2 \tan \left (\frac {a}{2}+\frac {x b}{2}\right )+2}\, \sqrt {-\tan \left (\frac {a}{2}+\frac {x b}{2}\right )}\, \EllipticF \left (\sqrt {\tan \left (\frac {a}{2}+\frac {x b}{2}\right )+1}, \frac {\sqrt {2}}{2}\right ) \sqrt {\tan \left (\frac {a}{2}+\frac {x b}{2}\right ) \left (\tan ^{2}\left (\frac {a}{2}+\frac {x b}{2}\right )-1\right )}+\sqrt {\tan ^{3}\left (\frac {a}{2}+\frac {x b}{2}\right )-\tan \left (\frac {a}{2}+\frac {x b}{2}\right )}\, \left (\tan ^{2}\left (\frac {a}{2}+\frac {x b}{2}\right )\right )-\sqrt {\tan ^{3}\left (\frac {a}{2}+\frac {x b}{2}\right )-\tan \left (\frac {a}{2}+\frac {x b}{2}\right )}\right )}{b \tan \left (\frac {a}{2}+\frac {x b}{2}\right ) \sqrt {\tan ^{3}\left (\frac {a}{2}+\frac {x b}{2}\right )-\tan \left (\frac {a}{2}+\frac {x b}{2}\right )}}\) \(308\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(csc(b*x+a)/sin(2*b*x+2*a)^(1/2),x,method=_RETURNVERBOSE)

[Out]

1/b*(-tan(1/2*a+1/2*x*b)/(tan(1/2*a+1/2*x*b)^2-1))^(1/2)*(2*(tan(1/2*a+1/2*x*b)+1)^(1/2)*(-2*tan(1/2*a+1/2*x*b
)+2)^(1/2)*(-tan(1/2*a+1/2*x*b))^(1/2)*EllipticE((tan(1/2*a+1/2*x*b)+1)^(1/2),1/2*2^(1/2))*(tan(1/2*a+1/2*x*b)
*(tan(1/2*a+1/2*x*b)^2-1))^(1/2)-(tan(1/2*a+1/2*x*b)+1)^(1/2)*(-2*tan(1/2*a+1/2*x*b)+2)^(1/2)*(-tan(1/2*a+1/2*
x*b))^(1/2)*EllipticF((tan(1/2*a+1/2*x*b)+1)^(1/2),1/2*2^(1/2))*(tan(1/2*a+1/2*x*b)*(tan(1/2*a+1/2*x*b)^2-1))^
(1/2)+(tan(1/2*a+1/2*x*b)^3-tan(1/2*a+1/2*x*b))^(1/2)*tan(1/2*a+1/2*x*b)^2-(tan(1/2*a+1/2*x*b)^3-tan(1/2*a+1/2
*x*b))^(1/2))/tan(1/2*a+1/2*x*b)/(tan(1/2*a+1/2*x*b)^3-tan(1/2*a+1/2*x*b))^(1/2)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(b*x+a)/sin(2*b*x+2*a)^(1/2),x, algorithm="maxima")

[Out]

integrate(csc(b*x + a)/sqrt(sin(2*b*x + 2*a)), x)

________________________________________________________________________________________

Fricas [A]
time = 2.56, size = 39, normalized size = 1.62 \begin {gather*} -\frac {\sqrt {2} \sqrt {\cos \left (b x + a\right ) \sin \left (b x + a\right )} + \sin \left (b x + a\right )}{b \sin \left (b x + a\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(b*x+a)/sin(2*b*x+2*a)^(1/2),x, algorithm="fricas")

[Out]

-(sqrt(2)*sqrt(cos(b*x + a)*sin(b*x + a)) + sin(b*x + a))/(b*sin(b*x + a))

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(b*x+a)/sin(2*b*x+2*a)**(1/2),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(b*x+a)/sin(2*b*x+2*a)^(1/2),x, algorithm="giac")

[Out]

integrate(csc(b*x + a)/sqrt(sin(2*b*x + 2*a)), x)

________________________________________________________________________________________

Mupad [B]
time = 0.31, size = 24, normalized size = 1.00 \begin {gather*} -\frac {\sqrt {\sin \left (2\,a+2\,b\,x\right )}}{b\,\sin \left (a+b\,x\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(sin(a + b*x)*sin(2*a + 2*b*x)^(1/2)),x)

[Out]

-sin(2*a + 2*b*x)^(1/2)/(b*sin(a + b*x))

________________________________________________________________________________________